#pragma once

#include "usbd_core.h"
#include "usbd_cdc.h"

typedef struct
{
    uint8_t cmd;
    void (*func)(uint8_t* data,uint16_t len);
}cmd_msg_list;


typedef enum {
    SET_KEY         =       0x01,
    GET_KEY         =       0x02,
    GET_LOGS        =       0x03,
}usb_cmd_set;